package com.example.myapplication1.nestedview;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;

import androidx.annotation.Nullable;

import com.example.myapplication1.R;
import com.example.myapplication1.dinyview.DampView;

/**
 * Copyright (C), 2020, 重庆八进制有限公司
 *
 * @author: weng
 * @last-modifier: weng
 * @version: 1.0
 * @create-date: 2020/9/1 9:40
 * @last-modify-date: 2020/9/1 9:40
 * @description:
 */
public class MyNestedScrollingActivity extends Activity {
    private static final String TAG = "AnimationActivity1:";

//    private RecyclerView ty_test;
    private DampView dampView;
    private ImageView imageView;

    @SuppressLint("ClickableViewAccessibility")
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_animation);
//        ty_test = findViewById(R.id.ty_test);
        dampView =  findViewById(R.id.dv);
        imageView = findViewById(R.id.iv_pic_bg);
        dampView.setImageView(imageView);
    }
}
